﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FactoryAndStrategy
{
    /// <summary>
    /// 交易类
    /// </summary>
    public class Trade
    {
        //交易编号
        private string _tradeNo;
        //交易金额
        private int _amount = 0;

        public string TradeNo
        {
            get
            {
                return _tradeNo;
            }

            set
            {
                _tradeNo = value;
            }
        }

        public int Amount
        {
            get
            {
                return _amount;
            }

            set
            {
                _amount = value;
            }
        }
    }
}
